package com.doxiaopu.students.product.vo;

import com.doxiaopu.students.product.entity.GroupSingleRebate;
import com.doxiaopu.students.product.entity.Single;

import java.io.Serializable;

public class MyTaskVO implements Serializable {
    private static final long serialVersionUID = 1489274646338686381L;
    private Integer id;
    private String flagid; //团单外键：
    private String massOrganizationId; //社团id外键：
    private Integer cumulativeOrder; //累计分销订单数：（分享的订单大于限额，将不计入奖励）
    private Integer cumulativeProfit; //累计分销获利：
    private Integer types; //返利状态：（0-正在返利；1-返利结束）
    private Long rebateCreatedTime; //团单返利的创建时间：（定位返利表的返利金额与限额）
    private Single single; //团单表
    private GroupSingleRebate groupSingleRebate; //返利表

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getFlagid() {
        return flagid;
    }

    public void setFlagid(String flagid) {
        this.flagid = flagid;
    }

    public String getMassOrganizationId() {
        return massOrganizationId;
    }

    public void setMassOrganizationId(String massOrganizationId) {
        this.massOrganizationId = massOrganizationId;
    }

    public Integer getCumulativeOrder() {
        return cumulativeOrder;
    }

    public void setCumulativeOrder(Integer cumulativeOrder) {
        this.cumulativeOrder = cumulativeOrder;
    }

    public Integer getCumulativeProfit() {
        return cumulativeProfit;
    }

    public void setCumulativeProfit(Integer cumulativeProfit) {
        this.cumulativeProfit = cumulativeProfit;
    }

    public Integer getTypes() {
        return types;
    }

    public void setTypes(Integer types) {
        this.types = types;
    }

    public Long getRebateCreatedTime() {
        return rebateCreatedTime;
    }

    public void setRebateCreatedTime(Long rebateCreatedTime) {
        this.rebateCreatedTime = rebateCreatedTime;
    }

    public Single getSingle() {
        return single;
    }

    public void setSingle(Single single) {
        this.single = single;
    }

    public GroupSingleRebate getGroupSingleRebate() {
        return groupSingleRebate;
    }

    public void setGroupSingleRebate(GroupSingleRebate groupSingleRebate) {
        this.groupSingleRebate = groupSingleRebate;
    }

    @Override
    public String toString() {
        return "MyTaskVO{" +
                "id=" + id +
                ", flagid='" + flagid + '\'' +
                ", massOrganizationId='" + massOrganizationId + '\'' +
                ", cumulativeOrder=" + cumulativeOrder +
                ", cumulativeProfit=" + cumulativeProfit +
                ", types=" + types +
                ", rebateCreatedTime=" + rebateCreatedTime +
                ", single=" + single +
                ", groupSingleRebate=" + groupSingleRebate +
                '}';
    }
}
